package com.ding.custommanagersys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ding.custommanagersys.bo.CustomBo;
import com.ding.custommanagersys.entity.Custom;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ding.custommanagersys.entity.User;
import com.ding.custommanagersys.vo.CustomUpdateVo;
import com.ding.custommanagersys.vo.CustomVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ding
 * @since 2023-04-18
 */
public interface ICustomService extends IService<Custom> {

    Page<CustomVo> getAllCustom(CustomBo bo);

    Integer addCustom(CustomVo customVo);

    Integer addCustomByRegister(CustomVo customVo);

    Custom getOneCustom(String id);

    Integer updateCustom(CustomUpdateVo customUpdateVo);

    Integer deleteCustom(List<String> customIds);
}
